package com.shgsh.platform.model;

import com.alibaba.fastjson.JSON;

import java.util.ArrayList;

/**
 * Created by Evelyn on 2015/8/25.
 */
public class Datagram {
    private TimeRange timeRange;
    private ArrayList<Location> locations;
    private ArrayList<ActiveArea> activeAreas;
    private ArrayList<String> expressions;

    public TimeRange getTimeRange() {
        return timeRange;
    }

    public void setTimeRange(TimeRange timeRange) {
        this.timeRange = timeRange;
    }

    public ArrayList<Location> getLocations() {
        return locations;
    }

    public void setLocations(ArrayList<Location> locations) {
        this.locations = locations;
    }

    public ArrayList<ActiveArea> getActiveAreas() {
        return activeAreas;
    }

    public void setActiveAreas(ArrayList<ActiveArea> activeAreas) {
        this.activeAreas = activeAreas;
    }

    public ArrayList<String> getExpressions() {
        return expressions;
    }

    public void setExpressions(ArrayList<String> expressions) {
        this.expressions = expressions;
    }

    public String toJsonString() {
        return JSON.toJSONString(this);
    }
}
